package Work4.CalculateArea;

public abstract class Shape {
	private String Shapename;
	private double shapelength;
	private double shapearea;
	
	public Shape(String Shapename) {
		this.Shapename=Shapename;
	}
	public String getShapename() {
		return Shapename;
	}
	public void setShapename(String shapename) {
		Shapename = shapename;
	}
	public double getShapelength() {
		return shapelength;
	}
	public void setShapelength(double shapelength) {
		this.shapelength = shapelength;
	}
	public double getShapearea() {
		return shapearea;
	}
	public void setShapearea(double shapearea) {
		this.shapearea = shapearea;
	}
	public abstract double CalculateArea();
	public abstract double CalculateLength();
}
